package routes

import (
	"go_web/internal/handler/handler_sys"
	"go_web/internal/service/service_sys"
	"github.com/gin-gonic/gin"
)


func SetupSysAuthCodeRoutes(r *gin.Engine) {
	SysAuthCodeService := service_sys.NewSysAuthCodeService()
	SysAuthCodeHandler := handler_sys.NewSysAuthCodeHandler(SysAuthCodeService)
	InitSysAuthCodeRoutes(r, SysAuthCodeHandler)
}

func SetupSysBindTypeRoutes(r *gin.Engine) {
	SysBindTypeService := service_sys.NewSysBindTypeService()
	SysBindTypeHandler := handler_sys.NewSysBindTypeHandler(SysBindTypeService)
	InitSysBindTypeRoutes(r, SysBindTypeHandler)
}

func SetupSysDataScopeRoutes(r *gin.Engine) {
	SysDataScopeService := service_sys.NewSysDataScopeService()
	SysDataScopeHandler := handler_sys.NewSysDataScopeHandler(SysDataScopeService)
	InitSysDataScopeRoutes(r, SysDataScopeHandler)
}

func SetupSysDictDataRoutes(r *gin.Engine) {
	SysDictDataService := service_sys.NewSysDictDataService()
	SysDictDataHandler := handler_sys.NewSysDictDataHandler(SysDictDataService)
	InitSysDictDataRoutes(r, SysDictDataHandler)
}

func SetupSysDictTypeRoutes(r *gin.Engine) {
	SysDictTypeService := service_sys.NewSysDictTypeService()
	SysDictTypeHandler := handler_sys.NewSysDictTypeHandler(SysDictTypeService)
	InitSysDictTypeRoutes(r, SysDictTypeHandler)
}

func SetupSysFileRoutes(r *gin.Engine) {
	SysFileService := service_sys.NewSysFileService()
	SysFileHandler := handler_sys.NewSysFileHandler(SysFileService)
	InitSysFileRoutes(r, SysFileHandler)
}

func SetupSysFileAuthRoutes(r *gin.Engine) {
	SysFileAuthService := service_sys.NewSysFileAuthService()
	SysFileAuthHandler := handler_sys.NewSysFileAuthHandler(SysFileAuthService)
	InitSysFileAuthRoutes(r, SysFileAuthHandler)
}

func SetupSysOrgRoutes(r *gin.Engine) {
	SysOrgService := service_sys.NewSysOrgService()
	SysOrgHandler := handler_sys.NewSysOrgHandler(SysOrgService)
	InitSysOrgRoutes(r, SysOrgHandler)
}

func SetupSysOrgUserRoutes(r *gin.Engine) {
	SysOrgUserService := service_sys.NewSysOrgUserService()
	SysOrgUserHandler := handler_sys.NewSysOrgUserHandler(SysOrgUserService)
	InitSysOrgUserRoutes(r, SysOrgUserHandler)
}

func SetupSysRouteRoutes(r *gin.Engine) {
	SysRouteService := service_sys.NewSysRouteService()
	SysRouteHandler := handler_sys.NewSysRouteHandler(SysRouteService)
	InitSysRouteRoutes(r, SysRouteHandler)
}

func SetupSysRouteAuthRoutes(r *gin.Engine) {
	SysRouteAuthService := service_sys.NewSysRouteAuthService()
	SysRouteAuthHandler := handler_sys.NewSysRouteAuthHandler(SysRouteAuthService)
	InitSysRouteAuthRoutes(r, SysRouteAuthHandler)
}

func SetupSysUserRoutes(r *gin.Engine) {
	SysUserService := service_sys.NewSysUserService()
	SysUserHandler := handler_sys.NewSysUserHandler(SysUserService)
	InitSysUserRoutes(r, SysUserHandler)
}

func SetupSysUserBindRoutes(r *gin.Engine) {
	SysUserBindService := service_sys.NewSysUserBindService()
	SysUserBindHandler := handler_sys.NewSysUserBindHandler(SysUserBindService)
	InitSysUserBindRoutes(r, SysUserBindHandler)
}

func SetupSysUserRoleMapRoutes(r *gin.Engine) {
	SysUserRoleMapService := service_sys.NewSysUserRoleMapService()
	SysUserRoleMapHandler := handler_sys.NewSysUserRoleMapHandler(SysUserRoleMapService)
	InitSysUserRoleMapRoutes(r, SysUserRoleMapHandler)
}

